/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package mywebapp;

import mywebapp.webpage.Page;
import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Web App</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link mywebapp.WebApp#getEntities <em>Entities</em>}</li>
 *   <li>{@link mywebapp.WebApp#getPages <em>Pages</em>}</li>
 *   <li>{@link mywebapp.WebApp#getName <em>Name</em>}</li>
 *   <li>{@link mywebapp.WebApp#getMain <em>Main</em>}</li>
 * </ul>
 * </p>
 *
 * @see mywebapp.MywebappPackage#getWebApp()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='not_same_page_name not_same_entity_name'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot not_same_page_name='pages->forAll(a : Page, b : Page | a <> b implies a.name <> b.name)' not_same_entity_name='entities->forAll(a : Entity, b : Entity | a <> b implies a.name <> b.name)'"
 * @generated
 */
public interface WebApp extends EObject {
	/**
	 * Returns the value of the '<em><b>Entities</b></em>' containment reference list.
	 * The list contents are of type {@link mywebapp.dao.Entity}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Entities</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Entities</em>' containment reference list.
	 * @see mywebapp.MywebappPackage#getWebApp_Entities()
	 * @model type="mywebapp.dao.Entity" containment="true"
	 * @generated
	 */
	EList getEntities();

	/**
	 * Returns the value of the '<em><b>Pages</b></em>' containment reference list.
	 * The list contents are of type {@link mywebapp.webpage.Page}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Pages</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Pages</em>' containment reference list.
	 * @see mywebapp.MywebappPackage#getWebApp_Pages()
	 * @model type="mywebapp.webpage.Page" containment="true"
	 * @generated
	 */
	EList getPages();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see mywebapp.MywebappPackage#getWebApp_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link mywebapp.WebApp#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Main</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Main</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Main</em>' reference.
	 * @see #setMain(Page)
	 * @see mywebapp.MywebappPackage#getWebApp_Main()
	 * @model required="true"
	 * @generated
	 */
	Page getMain();

	/**
	 * Sets the value of the '{@link mywebapp.WebApp#getMain <em>Main</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Main</em>' reference.
	 * @see #getMain()
	 * @generated
	 */
	void setMain(Page value);

} // WebApp
